using Dictionary = Godot.Collections.Dictionary;
public class WheatCropsEntity : BlockEntity
{
    public int pace = 0;
    public int max = (20 * 60) * 2;

    public override Dictionary getDict()
    {
        Dictionary dict = new Dictionary
        {
            { "pace", pace },
            { "max", max }
        };
        return dict;
    }
    public override BlockEntity JsonTo(Dictionary dict)
    {
        pace = dict["pace"].ToInt();
        max = dict["max"].ToInt();
        return this;
    }
}
